package com.example.rentalclearing.service;

import com.example.rentalclearing.entity.BankCollectionRecord;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 银行收款表 服务类
 * </p>
 *
 * @author sjf
 * @since 2025-10-17
 */
public interface IBankCollectionRecordService extends IService<BankCollectionRecord> {

    /**
     * 查询未用完的银行收款记录，按ID排序以避免死锁
     */
    List<BankCollectionRecord> selectUnusedByPayerAccountName(String tenantName);

}